* minibuf.c (read_minibuf_noninteractive): Use ptrdiff_t, not int,
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jun 2011 06:45:38 +0000 (23:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jun 2011 06:45:38 +0000 (23:45 -0700)
commit3139da405d0c220a97a388261874cf18308621a4
tree3ccbe8b6f7a8feac6de5e4432fee44e8b668698b
parentd859279d904dc97f06304591b31d0ebe46d8240b
* minibuf.c (read_minibuf_noninteractive): Use ptrdiff_t, not int,

for sizes.  Check for string overflow more accurately.
Simplify newline removal at end; this suppresses a GCC 4.6.0 warning.
src/ChangeLog
src/minibuf.c